@import url(../../assets/css/normalize.css);
@import url(../../assets/css/common.css);
@import url(../home/home.css);


body {
    width: 100%;
    height: 100%;
}

/***************************************** 头部部分 *****************************************************/
.head {
    position: sticky; //静态定位,相当于把之前的定位取消
    a{
        color: #666;
    }

    .nav-zc {
        color: #fff;
    }

    .nav-login {
        color: #666;
    }
}


.main-api {
    margin-top: 40px;
}

/***************************************** api分类部分 *****************************************************/

.api-box {
    flex-wrap: wrap;
    margin-top: 40px;
    height: 80px;

    span {
        color: #666;
        line-height: 10px;
        padding: 10px;
        margin-top: 10px;
        margin-right: 20px;
        border: 1px solid #ddd;
        border-radius: 10px;
        cursor: pointer;



        &:hover {
            color: #00bdff;
            border-color: #00bdff;
        }
    }

    .bold {
        font-weight: bold;
    }
}

.api-sercah {
    margin-top: 20px;
    align-items: center;

    .api-text {
        margin-right: 20px;
    }

    .api-p {
        position: relative;
    }

    input {
        width: 160px;
        padding: 5px 10px;
        box-sizing: border-box;
        border-radius: 16px;
        border: none;
        background-color: #f4f4f4;
    }

    button {
        position: absolute;
        right: 6px;
        top: 4px;
        cursor: pointer;
    }
}

/***************************************** api img *****************************************************/
.main-list {

    flex-wrap: wrap;
    margin-top: 20px;

    .box {
        position: relative;
    }

    li {
        box-sizing: border-box;
        text-align: center;
        color: #666;
        width: 230px;
        height: 270px;
        border: 1px solid #eee;
        margin: 5px 10px 5px 0px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        overflow: hidden;
        position: relative;

        .zyb {
            display: block;
            position: absolute;
            top: 4px;
            left: 4px;
            padding: 4px;
            font-size: 12px;
            color: #00bdff;
            background-color: #e5f8ff;
        }

        .zyn {
            display: none;
            position: absolute;
            top: 4px;
            left: 4px;
            padding: 4px;
            font-size: 12px;
            color: #00bdff;
            background-color: #e5f8ff;
        }


        a {
            transition: all 500ms;
        }

        button {
            position: absolute;
            width: 120px;
            height: 30px;
            bottom: -38px;
            background-color: #00bdff;
            color: #eee;
            transition: all 500ms;
        }

        p {
            margin-top: 10px;
        }

        .apifree {
            margin-top: 10px;
            color: #42C890;
        }

        .apinofree {
            margin-top: 10px;
            color: red;
        }

        &:hover {
            button {
                bottom: 14px;
            }

            a {
                margin-bottom: 10px;
            }
        }
    }

}

/***************************************** 尾部导航栏 *****************************************************/
.nav-foot {
    margin-top: 40px;
    text-align: center;

    a {
        margin-right: 4px;
        font-size: 16px;
        font-weight: bold;
        display: inline-block;
        width: auto;
        height: 20px;
        padding: 4px;
    }

    .bluea {
        color: #eee;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #00bdff;
    }

    .blueg {
        color: #00bdff;
    }
}

/***************************************** api模态框 *****************************************************/

.apimtk {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 10;

    .login-box {
        position: relative;
    }

    .logink {
        text-align: center;
        width: 400px;
        height: 500px;
        background-color: #fff;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

        .login-zh {
            display: block;
        }

        img {
            padding-top: 20px;
            margin-bottom: 20px;
        }

        span {
            display: inline-block;
            width: 64px;
            height: 40px;
            cursor: pointer;
            font-size: 16px;
            padding: 0 10px;
        }

        .acti {
            color: #00bdff;
        }

        .activation1 {
            display: block;
            width: 20px;
            height: 4px;
            background-color: #00bdff;
            position: absolute;
            bottom: 0;
            left: 132px;
        }

        .activation {
            display: none;
            width: 20px;
            height: 4px;
            background-color: #00bdff;
            position: absolute;
            bottom: 0;
            left: 226px;
        }

        input {
            width: 90%;
            height: 30px;
            margin-top: 32px;
            border: none;
            border-bottom: 1px solid #ccc;
            padding-left: 30px;
            box-sizing: border-box;
        }

        .input-box {
            width: 100%;
            height: 126px;
            position: relative;
            .telvalue{
                position: absolute;
                left: 20px;
                top: 65px;
                color: red;
                display: none;
            }
            .passvalue{
                position: absolute;
                left: 20px; ;
                top: 126px;
                color: red;
                display: none;
            }
            .qczh{
                display: none;
                position: absolute;
                font-size: 20px;
                right: -10px;
                top: 32px;
            }
            .qcmm{
                display: none;
                position: absolute;
                font-size: 20px;
                right: -10px;
                top: 94px;
            }
        }

        .text-img {
            display: inline-block;
            width: 10px;
            height: 20px;
            position: absolute;
            background: url(../../assets/imgs/loginIcon.png) no-repeat;
            background-position: -49px -4px;
            left: 14px;
            top: 33px;

        }

        .pass-img {
            display: inline-block;
            width: 10px;
            height: 24px;
            position: absolute;
            background: url(../../assets/imgs/loginIcon.png) no-repeat;
            background-position: -21px -2px;
            left: 14px;
            top: 92px;
        }

        .first-a {
            position: absolute;
            right: 20px;
            padding: 20px 0;
            color: #00bdff;
        }

        .mtk-btn {
            background-color: #00bdff;
            text-align: center;
            width: 90%;
            line-height: 40px;
            margin-top: 60px;
            color: #e5f8ff;
            font-size: 16px;
        }

        .login-zh {
            margin-top: 20px;
            position: absolute;
            right: 20px;

            .login-zc {
                color: #00bdff;
            }
        }

        .login-smdl{
            display: none;
        }

        .erweima {
            width: 290px;
            height: 240px;
            background-color: #fcfcfc;
            border: 1px solid #eee;
            margin: 40px 55px;
            img{
                width: 120px;
                height: 120px;
            }
            p{
                padding-top: 10px;
            }
            .login-sm{
                margin-top: 40px;
                position: absolute;
                color: #909090;
                a{
                    color: #00bdff;
                }
            }
        }
        .login-zhdl{
            display: block;
            position: relative;
            .qts{
                display: none;
                color: #e5f8ff;
                width: 140px;
                height: 140px;
                line-height: 140px;
                background-color: rgba(0, 0, 0, .8);
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50% ,-50%);
            }
        }
    }

}